package com.bsoft.gol.hcs.specialist.bean.request;

import javax.validation.constraints.NotEmpty;;

import java.io.Serializable;

/**
 * @Author:FangZhiyi
 * @Description
 * @Data Created in 2020/7/28 9:28
 * @Moddified By:
 */
public class QueryDictionaryListByKeyReq implements Serializable {
    private String organizationId;//机构ID
    @NotEmpty(message = "字典key编码不能为空",groups = {QueryGroups.class})
    private String dicKeyCode;//字典key编码
    private String dicKeyName;//字典key名称
    private String dicKeySpell;//字典key拼音码

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getDicKeyCode() {
        return dicKeyCode;
    }

    public void setDicKeyCode(String dicKeyCode) {
        this.dicKeyCode = dicKeyCode;
    }

    public String getDicKeyName() {
        return dicKeyName;
    }

    public void setDicKeyName(String dicKeyName) {
        this.dicKeyName = dicKeyName;
    }

    public String getDicKeySpell() {
        return dicKeySpell;
    }

    public void setDicKeySpell(String dicKeySpell) {
        this.dicKeySpell = dicKeySpell;
    }

    @Override
    public String toString() {
        return "{\"QueryDictionaryListByKeyReq\":{"
                + "\"organizationId\":\""
                + organizationId + '\"'
                + ",\"dicKeyCode\":\""
                + dicKeyCode + '\"'
                + ",\"dicKeyName\":\""
                + dicKeyName + '\"'
                + ",\"dicKeySpell\":\""
                + dicKeySpell + '\"'
                + "}}";

    }

    public interface QueryGroups {
    }
}
